package com.hyh.spring;

import com.hyh.myrule.MySelfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;


/**
 * @BelongsPackage: com.hyh.spring
 * @ClassName OrderMain
 * @Author: hyhWTX
 * @CreateTime: 2023-03-28  12:32
 * @Description: TODO (一句话描述以下该类的功能)
 * @Version: 1.0
 */
@SpringBootApplication
@EnableDiscoveryClient
//@RibbonClient(name = "CLOUD-PAYMENT-SERVICE",configuration = MySelfRule.class)
public class OrderMain {
    public static void main(String[] args) {
        SpringApplication.run(OrderMain.class,args);
    }
}
